﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ITM495.OOExamples.Core.Logger
{
    public class ConsoleLogger: ILogger
    {
        #region ILogger Members

        public void Log(string message)
        {
            Console.WriteLine(message);
        }

        public void Log(string format, params object[] options)
        {
            Console.WriteLine(format, options);
        }

        public void Dispose()
        {
            Console.WriteLine("Console Logger closed.");
        }

        #endregion
    }
}